// 手机号登录
.loginMain {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100vh;
    transition: opacity 0.3s;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    pointer-events: all;

    .wptWapLogin {
        width: 320px;
        height: 265px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #fff;
        position: fixed;
        z-index: 10000;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -moz-user-select: -moz-none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &.inputOnFocus {
            transform: translate(-50%, -80%);
        }

        .topBar {
            width: 100%;
            height: 16px;
            color: #505050;
            letter-spacing: 0;
            position: relative;
            margin-top: 14px;

            .close {
                font-family: 'wptFontMain' !important;
                line-height: 24px;
                color: #333333;
                position: absolute;
                top: -6px;
                right: 15px;
                cursor: pointer;
                transform: rotate(45deg);
                -webkit-transform: rotate(45deg);

                &::before {
                    content: '+';
                    font-size: 36px;
                    font-weight: 200;
                }
            }
        }

        .inputContainer {
            height: 16px;
            line-height: 16px;
            margin: 10px 15px 0 15px;
            padding: 10px;
            font-size: 14px;
            color: #333333;
            letter-spacing: 0;
            display: flex;
            border-bottom: #cccccc solid 1px;

            .numInput {
                font-size: 14px;
                width: 120px;
                border: none;
                caret-color: #ab3b3a;

                &::-webkit-input-placeholder {
                    color: #bdc0ba;
                    padding-left: 4px;
                }
            }

            .columnDiliver {
                font-family: 'wptFontMain' !important;
                width: 12px;
                height: 12px;
                color: #666666;
                cursor: pointer;
                margin: 0px 17px 0 6px;
                font-size: 15px;
                transform: rotate(90deg);
                -webkit-transform: rotate(90deg);

                &::before {
                    content: '\e629';
                }
            }

            .placeHolder {
                color: #bdc0ba;
            }
        }

        .next {
            height: 45px;
            line-height: 45px;
            margin: 20px 15px 0 15px;
            border-radius: 4px;
            -moz-border-radius: 4px;
            -webkit-border-radius: 4px;
            text-align: center;
            background-color: #ab3b3a;
            color: #fff;
            font-size: 18px;
            letter-spacing: 0;
            cursor: pointer;

            &.disabled {
                background-color: #bdc0ba;
                cursor: default;
            }
        }

        .gotoWxLogin {
            margin: 30px 0 20px 0;
            display: flex;
            flex-direction: column;
            align-items: center;

            .wxIcon {
                background-size: cover;
                background-image: url('https://cdn.weipaitang.com/static/201912021f08cefc-1080-cefc1080-b569-466c491f5148-W99H99');
                width: 40px;
                height: 40px;
                cursor: pointer;
            }

            .IconTitle {
                margin-top: 10px;
                font-size: 12px;
                color: #333333;
                cursor: pointer;
            }
        }

        .pxindAgree {
            font-size: 12px;
            color: #666666;
            display: flex;
            justify-content: center;

            .agreement {
                color: #333333;
            }
        }
    }

    .wptCodeCheck {
        width: 320px;
        height: 265px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #fff;
        position: fixed;
        z-index: 10000;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -moz-user-select: -moz-none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;

        &.inputOnFocus {
            transform: translate(-50%, -80%);
        }

        .topBar {
            width: 100%;
            height: 16px;
            color: #505050;
            letter-spacing: 0;
            position: relative;
            margin-top: 15px;

            .close {
                font-family: 'wptFontMain' !important;
                line-height: 24px;
                color: #333333;
                position: absolute;
                top: -6px;
                right: 15px;
                cursor: pointer;
                transform: rotate(45deg);
                -webkit-transform: rotate(45deg);

                &::before {
                    content: '+';
                    font-size: 36px;
                    font-weight: 200;
                }
            }
        }

        .remindTelephone {
            text-align: center;
            color: #333333;
            font-size: 16px;
            margin-top: 14px;

            .telephone {
                font-weight: 500;
            }
        }

        .remindFrom {
            margin-top: 10px;
            text-align: center;
            color: #bdc0ba;
            font-size: 13px;
        }

        .inputContainer {
            width: 290px;
            height: 42px;
            margin: 12px 15px 0 15px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            border-bottom: #cccccc solid 1px;

            &.resend {
                border-bottom: none;
            }

            .numInput {
                font-size: 14px;
                width: 179px;
                border: none;
                caret-color: #ab3b3a;
                padding-left: 10px;
                height: 100%;

                &.resend {
                    width: 194px;
                    border-bottom: #cccccc solid 1px;
                }

                &::-webkit-input-placeholder {
                    color: #bdc0ba;
                    padding-left: 4px;
                }
            }

            .resendBtn {
                width: 76px;
                height: 35px;
                background-color: #ab3b3a;
                color: #fff;
                border-radius: 17px;
                font-size: 14px;
                line-height: 35px;
                text-align: center;
                cursor: pointer;
            }

            .remindSeconds {
                font-size: 12px;
                color: #bdc0ba;
            }
        }

        .inputBtn {
            width: 290px;
            height: 45px;
            margin: 30px auto 0 auto;
            color: #fff;
            background-color: #ab3b3a;
            font-size: 18px;
            line-height: 45px;
            text-align: center;
            border-radius: 4px;
            cursor: pointer;

            &.disabled {
                background-color: #bdc0ba;
                cursor: default;
            }
        }

        .codeInputContainer {
            margin: 21px 40px 0 40px;
            display: flex;
            justify-content: space-between;

            .codeContainer {
                width: 44px;
                height: 44px;
                line-height: 44px;
                border: 1px solid #d8d8d8;
                text-align: center;
                color: #030303;
                font-size: 21px;

                &.onfocus {
                    border: 1px solid #426bf2;
                }
            }
        }
    }
}

// 微信扫码登录
.pcLoginLayer {
    position: fixed;
    top: 0;
    z-index: 99;
    width: 100%;
    height: 100vh;
    transition: opacity 0.3s;
    background-color: rgba(0, 0, 0, 0.4);
    opacity: 1;
    pointer-events: all;

    .pcLogin {
        width: 320px;
        height: 435px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #fff;
        position: fixed;
        z-index: 10000;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -moz-user-select: -moz-none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;

        .QRcode {
            width: 210px;
            height: 210px;
            margin: 50px auto 0 auto;
            position: relative;

            .logo {
                position: absolute;
                top: 50%;
                left: 50%;
                margin-left: -20px;
                margin-top: -20px;
                width: 40px;
                height: 40px;
                border-radius: 10px;
                background-image: url(//cdn.weipaitang.com//res/img/logo256.jpg);
                background-repeat: no-repeat;
                background-position: center;
                background-size: 100%;
                border: 3px #fff solid;
            }
        }

        .title {
            margin-top: 20px;
            text-align: center;
            font-size: 18px;
        }

        .content {
            display: flex;
            justify-content: center;
            align-items: center;
            margin: 20px 0 20px 0;

            .scanIcon {
                width: 30px;
                height: 30px;
                background-image: url(//cdn.weipaitang.com//webApp/images/activity/1608052/111.png);
                background-repeat: no-repeat;
                background-size: cover;
            }

            .text {
                font-size: 14px;
                vertical-align: text-bottom;
                margin-left: 10px;

                .bottom {
                    font-size: 12px;
                    color: #888;
                }
            }
        }

        .switch {
            color: #ab3b3a;
            font-size: 16px;
            display: flex;
            justify-content: center;
            align-items: center;
            cursor: pointer;

            .icon {
                width: 18px;
                height: 18px;
                background-image: url('https://cdn.weipaitang.com/static/201912022121dfe4-829c-dfe4829c-a7c8-e7155c08874c-W48H48');
                background-size: cover;
                margin-right: 8px;
                cursor: pointer;
            }
        }
    }

    .scanConfirmPage {
        width: 320px;
        height: 435px;
        border-radius: 10px;
        -moz-border-radius: 10px;
        -webkit-border-radius: 10px;
        background-color: #fff;
        position: fixed;
        z-index: 10000;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        -moz-user-select: -moz-none;
        -khtml-user-select: none;
        -webkit-user-select: none;
        -ms-user-select: none;
        user-select: none;

        .avatar {
            position: relative;
            width: 120px;
            height: 120px;
            margin: 60px auto 0 auto;
            border-radius: 1px;
            background-repeat: no-repeat;
            background-size: cover;
        }

        .title {
            text-align: center;
            font-size: 16px;
            height: 63px;
            line-height: 50px;
        }

        .content {
            text-align: center;
            margin-top: 40px;
            margin-bottom: 80px;
            font-size: 18px;
            color: #333;
        }

        .backBtn {
            text-align: center;
            color: #576b95;
            font-size: 14px;
        }
    }
}
